package com.doudou.collection.pojo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @ClassName UserDetailDTO
 * @Description 用户修改个人信息数据传输对象
 * @Author blue sky
 * @Date 2023/6/5 22:25
 * @Version 1.0
 */
@Data
public class UserDetailDTO {

    @ApiModelProperty("用户id")
    private Long id;

    @ApiModelProperty("性别")
    private Integer gender;

    @ApiModelProperty("年龄")
    private Integer age;

    @ApiModelProperty("城市")
    private String city;

    @ApiModelProperty("学校")
    private String school;

    @ApiModelProperty("生日")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date birthday;

    @ApiModelProperty("个人介绍")
    private String introduce;

    @ApiModelProperty("工作职位")
    private String job;
}
